from rest_framework.urls import path
from . import views


urlpatterns = [
    path(
        '',
        views.CartAPIView.as_view(
            {
                'post': 'add',
                'get': 'cart_list',
                'patch': 'change_course_selected',
                'put': 'change_expire',
                'delete': 'delete_course',
           }
        )
    ),
]
